import React, { Component } from 'react';

interface IProps {
  name: string;
}

interface IState {}

export default class Child extends Component<IProps, IState> {
  render() {
    return (
      <div>
        <h2>Child</h2>
        {this.props.name}
      </div>
    );
  }
}
